/**
 * 订单模块
 */
import base from '@/plugins/baseURL'; // 导入接口域名列表
import axios from '@/plugins/http'; // 导入http中创建的axios实例
import qs from 'qs'; // 根据

const order={
    orderList(params){
    return axios.get(`${base.dev}/order/showList`,{
        params:params
    })
    },
    modifyOrder(params){
        return axios.post(`${base.dev}/order/modifyOrder`,qs.stringify(params))
    },

    deleteOrder(params){
        return axios.delete(`${base.dev}/order/removeOrder/`+params)
    }
}
export default order;